package com.feicheng.lanniao.entity;

import java.io.Serializable;
import java.time.LocalDateTime;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

/**
 * <p>
 *
 * </p>
 *
 * @author feichengTech
 * @since 2021-09-02
 */

public class House implements Serializable {

	private static final long serialVersionUID = 1L;

	/**
	 * 房子id
	 */
	@TableId(value = "house_id", type = IdType.AUTO)
	private Integer houseId;

	/**
	 * 房子描述
	 */
	private String des;

	/**
	 * 几厅(可维护)
	 */
	private Integer hallCount;

	/**
	 * 几室(可维护)
	 */
	private Integer roomCount;

	public Integer getHouseId() {
		return houseId;
	}

	public void setHouseId(Integer houseId) {
		this.houseId = houseId;
	}

	public String getDes() {
		return des;
	}

	public void setDes(String des) {
		this.des = des;
	}

	public Integer getHallCount() {
		return hallCount;
	}

	public void setHallCount(Integer hallCount) {
		this.hallCount = hallCount;
	}

	public Integer getRoomCount() {
		return roomCount;
	}

	public void setRoomCount(Integer roomCount) {
		this.roomCount = roomCount;
	}

	public Integer getArea() {
		return area;
	}

	public void setArea(Integer area) {
		this.area = area;
	}

	public Integer getProvienceId() {
		return provienceId;
	}

	public void setProvienceId(Integer provienceId) {
		this.provienceId = provienceId;
	}

	public Integer getCityId() {
		return cityId;
	}

	public void setCityId(Integer cityId) {
		this.cityId = cityId;
	}

	public Integer getReignId() {
		return reignId;
	}

	public void setReignId(Integer reignId) {
		this.reignId = reignId;
	}

	public String getImgUrl() {
		return imgUrl;
	}

	public void setImgUrl(String imgUrl) {
		this.imgUrl = imgUrl;
	}

	public Boolean getSaleFlg() {
		return saleFlg;
	}

	public void setSaleFlg(Boolean saleFlg) {
		this.saleFlg = saleFlg;
	}

	public String getDetailLocation() {
		return detailLocation;
	}

	public void setDetailLocation(String detailLocation) {
		this.detailLocation = detailLocation;
	}

	public LocalDateTime getCt() {
		return ct;
	}

	public void setCt(LocalDateTime ct) {
		this.ct = ct;
	}

	public LocalDateTime getUt() {
		return ut;
	}

	public void setUt(LocalDateTime ut) {
		this.ut = ut;
	}

	public static long getSerialversionuid() {
		return serialVersionUID;
	}

	/**
	 * 房子建筑面积（平米）
	 */
	private Integer area;

	/**
	 * 省编号
	 */
	private Integer provienceId;

	/**
	 * 市编号
	 */
	private Integer cityId;

	/**
	 * 区编号
	 */
	private Integer reignId;

	/**
	 * 房屋封面图片(可维护)
	 */
	private String imgUrl;

	/**
	 * 上下架（是否已卖出）
	 */
	private Boolean saleFlg;

	/**
	 * 详细地址
	 */
	private String detailLocation;

	/**
	 * 创建时间
	 */
	private LocalDateTime ct;

	/**
	 * 更新时间
	 */
	private LocalDateTime ut;


	/**
	 * 片区
	 */
	private  String pianqu;

	/**
	 *小区
	 */
	private String xiaoqu;

	public String getPianqu() {
		return pianqu;
	}

	public void setPianqu(String pianqu) {
		this.pianqu = pianqu;
	}

	public String getXiaoqu() {
		return xiaoqu;
	}

	public void setXiaoqu(String xiaoqu) {
		this.xiaoqu = xiaoqu;
	}

	public String getZhuangxiu() {
		return zhuangxiu;
	}

	public void setZhuangxiu(String zhuangxiu) {
		this.zhuangxiu = zhuangxiu;
	}

	public String getChaoxiang() {
		return chaoxiang;
	}

	public void setChaoxiang(String chaoxiang) {
		this.chaoxiang = chaoxiang;
	}

	/**
	 *装修
	 */
	private String zhuangxiu;

	/**
	 *朝向
	 */
	private String chaoxiang;


	private Integer dianti;

	/**
	 * 年代
	 */
	private String niandai;

	public String getNiandai() {
		return niandai;
	}

	public void setNiandai(String niandai) {
		this.niandai = niandai;
	}

	public Integer getDianti() {
		return dianti;
	}

	public void setDianti(Integer dianti) {
		this.dianti = dianti;
	}

	@Override
	public String toString() {
		String string = houseId + des;
		return string;
	}

}
